var redis = require("redis");
var config = require('../lib/config')
var port = config.redis.port || 6379;
var host = config.redis.host || "127.0.0.1";
var client = redis.createClient(port, host);

module.exports = client;